package com.hksj.Intelligentmanagement.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.Intelligentmanagement.auth.entity.Menu;
import com.hksj.Intelligentmanagement.auth.vo.MenuVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MenuMapper extends BaseMapper<Menu> {
    List<String> selectPermsByUserId(String id);

    List<MenuVo> listMenuByUserId(@Param("userId") String userId,@Param("status") String status);

    List<MenuVo> listAllMenu(@Param("status") String status);
}
